"use client";
import { Geist, Geist_Mono, Lexend } from "next/font/google";
import "./globals.css";
import GlobalHeader from "./components/global-header";

const geistSans = Geist({
  variable: "--font-geist-sans",
  subsets: ["latin"],
});

const geistMono = Geist_Mono({
  variable: "--font-geist-mono",
  subsets: ["latin"],
});
const lexend = Lexend({
  variable: "--font-lexend",
  subsets: ["latin"],
});
export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <title>NodeJS Website</title>
      <body
        className={`${geistSans.variable} ${geistMono.variable} ${lexend.variable} antialiased `}
      >
        <GlobalHeader />
        <div>{children}</div>
      </body>
    </html>
  );
}
